<?php

namespace app\admin\route;

use think\facade\Route;

//多级控制中的点替换成斜杠
Route::rule('<version>/<controller>/<action>', '<version>.<controller>/<action>');